//
//  LoginURL.swift
//  ParkManage
//
//  Created by cf on 2020/9/21.
//  Copyright © 2020 diligrp. All rights reserved.
//

import Foundation

enum LoginURL {
    /// 关联微信
    case connectWX
}

extension LoginURL {
    
    var path: String {
        switch self {
        case .connectWX:
            return "navigator://LoginURL/connectWX"
        }
        
    }
    
    static func initRouter() {
        navigator.register(LoginURL.connectWX.path) { _, _, _ in
            let vc = ConnectWXViewController()
            return vc
        }
    }
}
